package com.lucian.ge.dao.shop;

import com.lucian.ge.pojo.shop.Category;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by Lucicol on 2019/6/19.
 */
public interface CategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Category record);

    int insertSelective(Category record);

    Map<String, String> selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    Map<String, String> selectCategoryChildrenByParentId(Integer parentId);
}
